#-------------------------------------------------
#
# Project created by QtCreator 2014-08-19T16:58:02
#
#-------------------------------------------------

QT       += core gui sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = gestion-consos
TEMPLATE = app


SOURCES += main.cpp\
        gconsos.cpp \
    consos.cpp \
    ../Classes_Communes/connexionbdd.cpp \
    ../Classes_Communes/moneydelegate.cpp

HEADERS  += gconsos.h \
    consos.h \
    ../Classes_Communes/connexionbdd.h \
    ../Classes_Communes/moneydelegate.h \

FORMS    += gconsos.ui

unix:!macx: LIBS += -L$$PWD/../lib/ -lLib_Categories

INCLUDEPATH += $$PWD/../Classes_Communes

INCLUDEPATH += $$PWD/../include
DEPENDPATH += $$PWD/../include

RESOURCES += \
    ressources.qrc

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../lib/ -lLib_Categories
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../lib/ -lLib_Categoriesd


win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../lib/libLib_Categories.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../lib/libLib_Categoriesd.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../lib/Lib_Categories.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../lib/Lib_Categoriesd.lib
